package com.newcoin.xgb.service;

import com.newcoin.xgb.dto.BuyFinManDto;
import com.newcoin.xgb.dto.QueryParameterDto;
import com.newcoin.xgb.entity.Result;
import com.newcoin.xgb.entity.XgbFinancialCycle;
import com.newcoin.xgb.entity.XgbFinancialOrder;
import com.newcoin.xgb.entity.XgbFinancialProduct;
import com.newcoin.xgb.po.FinancialOrderPo;
import com.newcoin.xgb.po.YebBalancePo;

import java.util.List;

public interface YebService {

    Result<List<XgbFinancialProduct>> getFinMan() throws Exception;

    Result<List<XgbFinancialProduct>> getFinancialProductList(Integer cycleId) throws Exception;

    Result buyFinMan(BuyFinManDto buyFinMan) throws Exception;

    Result<YebBalancePo> getYebBalance(QueryParameterDto queryParameterDto) throws Exception;

    Result<FinancialOrderPo> getFinancialOrderList(QueryParameterDto queryParameterDto) throws Exception;

    Result<List<XgbFinancialCycle>> getCycleList() throws Exception;
}
